class CreateTechniqueTemplates < ActiveRecord::Migration
  def self.up
    create_table :technique_templates do |t|
      t.integer :technique_id
      t.string :name
      t.boolean :filename, :default => true
      t.boolean :location, :default => true
      t.boolean :recursively, :default => true
      t.boolean :hash_type, :default => true
      t.boolean :hash_value, :default => true
      t.boolean :content, :default => true
      t.boolean :mimetype, :default => true

      t.timestamps
    end
  end

  def self.down
    drop_table :technique_templates
  end
end
